package com.gk.fein;

import com.eight.pojo.TbCoupon;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: GK
 * @date: 2023/3/1 11:17
 * @version:No1.0
 */
@FeignClient("rentcar-coupon")
public interface SelectXCuponFindIdFein {
    /**
     * 查询优惠卷的feign接口
     * @param ids
     * @return
     */
    @PostMapping("/coupon/batchSearch/")
    public List<TbCoupon> batchSearch(@RequestBody List<Integer> ids);
}
